package com.job.client.city.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(value = "tb_city_order")
public class CityOrder {
    @Id
    private String id;
    @Field("title")
    private String title; //字母
    @Field("lists")
    private List<String> lists; //城市
}
